﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Microsoft.Xna.Framework;

namespace HabboClone
{
    class Pathfinder
    {
        private Map pMap;

        public Pathfinder(Map pathmap) {
            pMap = pathmap;
        }

        public List<Tile> findPath(Tile start, Tile end) {
            if (pMap != null)
            {
                
                return new List<Tile>();
            }
            else {
                return new List<Tile>();
            }
        }

        private class Node {
            public Node(Point position, Tile start, Tile end) {
                pStart = start.Position;
                pEnd = end.Position;
                Neighbours = new Node[4];
            }

            private Point pStart;
            private Point pEnd;

            public Node[] Neighbours; //0 LO 1 RO 2 RU 3 LU

            public int F { get; set; }
            public int G { get; set; }
            public int H { get; set; }
        }
    }
}
